package pl.PawelAndAlicja.badugiproject.main.Players;

abstract public class Player {

    // Metody gracza

    @Override
    public String toString() {
        return "Player{" +
                "\ntypePlayer='" + typePlayer + '\'' +
                "\nname='" + name + '\'' +
                "\n, prizeTokens=" + prizeTokens +
                '}';
    }

    public String getTypePlayer() {
        return typePlayer;
    }

    public String getPrizeTokens() {
        return Integer.toString(prizeTokens);
    }

    public void setPrizeTokens(int prizeTokens) {

        this.prizeTokens = prizeTokens;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    String typePlayer;        // Rodzaj gracza
    String name;            // Nazwa gracza
    int prizeTokens;    // pula zetonow

}
